package com.atguigu.dao;

import com.atguigu.entity.Dict;
import com.base.BaseDao;

import java.util.List;

public interface DictDao extends BaseDao<Dict> {
    List<Dict> findListByParentId(Long parentId);

    int countIsParent(Long id);

    Dict getByDictCode(String code);

    String getNameById(Long id);
}
